﻿<myframework:View x:Class="MyFramework.Test.ShellView"
                  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                  xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
                  xmlns:int="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
                  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                  xmlns:myframework="https://myframework.codeplex.com/myframework/xaml/presentation"
                  xmlns:prism="http://www.codeplex.com/CompositeWPF"
                  Title="Main Window"
                  Width="525"
                  Height="350"
                  mc:Ignorable="d">
    <Grid HorizontalAlignment="Stretch"
          VerticalAlignment="Stretch"
          Background="Black">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <ContentControl x:Name="PopUpRegion"
                        Grid.RowSpan="2"
                        Panel.ZIndex="99"
                        prism:RegionManager.RegionName="{Binding PopUpRegionName}" />
        <ContentControl x:Name="RibbonRegion" prism:RegionManager.RegionName="{Binding RibbonRegionName}" />
        <ContentControl x:Name="MainRegion"
                        Grid.Row="1"
                        Grid.ColumnSpan="2"
                        HorizontalAlignment="Stretch"
                        VerticalAlignment="Stretch"
                        prism:RegionManager.RegionName="{Binding MainRegionName}" />
    </Grid>
</myframework:View>
